package com.xgkj.diyiketang.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.xgkj.diyiketang.util.PalLog;
import com.xgkj.diyiketang.R;

/**
 * Created by XCKJ_Paladowow on 2016/4/15.
 */
public class BaoMingChengGongActivity extends BaseActivity{
    private Context mContext;
    private TextView back;
    //private ImageView mComplete;
    private String order;
    private String fee;
    private TextView mOrder;
    private TextView mFee;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.baoming_success);
        mContext = this;
        initView();
    }

    private void initView(){
        Intent intent = getIntent();
        if (intent != null) {
            order = intent.getStringExtra("ORDERNO");
            fee = intent.getStringExtra("FEE");
        }
        mOrder = (TextView) findViewById(R.id.fanpiaohao);
        mOrder.setText(order);
        mFee = (TextView) findViewById(R.id.shifukuan);
        mFee.setText(fee);
        back = (TextView) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
//        mComplete = (ImageView) findViewById(R.id.complete);
//        mComplete.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                finish();
//            }
//        });
    }
}
